#-*- encoding: utf-8 -*-
'''
Created on 2011-10-18

@author: wu botao
'''

class Infohold:
    '''基础类'''
    __login_url = 'http://sign.infohold.com.cn/login.do'
    __verification_code_url = 'http://sign.infohold.com.cn/GenChkPic.jsp'
    __headers = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.9 Safari/534.30'}
    __username = 'bjwbt'
    __password = '1'
    __verification_code = ''
    
    def get_verification_code(self):
        '''获取验证码'''
        pass
    
    def login(self):
        '''登录'''
        print self.__headers
        pass
    
    def checkin(self):
        '''签到'''
        pass
    
if __name__ == '__main__':
    #ih = Infohold()
    #ih.login()
    from inh import User
    with User() as u:
        u.login()
